package cn.wolfcode.p2p.base.query;

import cn.wolfcode.base.QueryObject;
import cn.wolfcode.p2p.base.util.DateUtil;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
public class VideoAuthQuery extends QueryObject {
    private int state = -1;
    private Date beginDate;
    private Date endDate;

    public Date getEndDate() {
        return endDate != null ? DateUtil.getEndDate(endDate) : null;
    }
}